package org.vincen.helloworld.jaxb;

/**
 * 此类用作jaxb测试用
 * @author vincen
 */
public class Component {

	public POJO read(){
		POJO pojo = new POJO();
		pojo.setAge(12);
		pojo.setName("vincen");
		return pojo;
	}
}

class POJO {
	private String name;
	private Integer age;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
}
